Stop code execution if a certain value is not present in a column